package com.bazaaroid.client.web.gwt.partnermodule.client.presenter;

import com.bazaaroid.client.web.gwt.partnermodule.client.view.PartnerModuleView;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.user.client.ui.HasWidgets;

public class PartnerModulePresenter implements Presenter {

	private final PartnerModuleView view;
	private final HandlerManager eventBus;

	public PartnerModulePresenter(HandlerManager eventBus, PartnerModuleView view) {
		this.eventBus = eventBus;
		this.view = view;

	}

	public void go(final HasWidgets container) {
		container.clear();
		container.add(view.asWidget());
	}

}
